package com.gome.ocean.controller.datax;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by liuqingxia on 2016/2/26.
 */
@Controller
@RequestMapping("/guide")
public class GuideController {

    @RequestMapping(value = "reader/drds", method = RequestMethod.GET)
    public String drdsReader() {
        return "guide/reader/drdsreader";
    }

    @RequestMapping(value = "reader/hdfs", method = RequestMethod.GET)
    public String hdfsReader() {
        return "guide/reader/hdfsreader";
    }

    @RequestMapping(value = "reader/hbase", method = RequestMethod.GET)
    public String hbaseReader() {
        return "guide/reader/hbasereader";
    }

    @RequestMapping(value = "reader/mongodb", method = RequestMethod.GET)
    public String mongodbReader() {
        return "guide/reader/mongodbreader";
    }

    @RequestMapping(value = "reader/mysql", method = RequestMethod.GET)
    public String mysqlReader() {
        return "guide/reader/mysqlreader";
    }

    @RequestMapping(value = "reader/oracle", method = RequestMethod.GET)
    public String oracleReader() {
        return "guide/reader/oraclereader";
    }

    @RequestMapping(value = "writer/drds", method = RequestMethod.GET)
    public String drdsWriter() {
        return "guide/writer/drdswriter";
    }

    @RequestMapping(value = "writer/hdfs", method = RequestMethod.GET)
    public String hdfsWriter() {
        return "guide/writer/hdfswriter";
    }

    @RequestMapping(value = "writer/mongodb", method = RequestMethod.GET)
    public String mongodbWriter() {
        return "guide/writer/mongodbwriter";
    }

    @RequestMapping(value = "writer/mysql", method = RequestMethod.GET)
    public String mysqlWriter() {
        return "guide/writer/mysqlwriter";
    }

    @RequestMapping(value = "writer/oracle", method = RequestMethod.GET)
    public String oracleWriter() {
        return "guide/writer/oraclewriter";
    }
}
